home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / websrvcs / nsISOAPResponse.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  3KB  |  115 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsISOAPResponse.idl
  3.  */
  4.  
  5. #ifndef __gen_nsISOAPResponse_h__
  6. #define __gen_nsISOAPResponse_h__
  7.  
  8.  
  9. #ifndef __gen_nsISupports_h__
  10. #include "nsISupports.h"
  11. #endif
  12.  
  13. #ifndef __gen_nsISOAPCall_h__
  14. #include "nsISOAPCall.h"
  15. #endif
  16.  
  17. /* For IDL files that don't want to include root IDL files. */
  18. #ifndef NS_NO_VTABLE
  19. #define NS_NO_VTABLE
  20. #endif
  21. class nsISOAPParameter; /* forward declaration */
  22.  
  23. class nsISOAPFault; /* forward declaration */
  24.  
  25.  
  26. /* starting interface:    nsISOAPResponse */
  27. #define NS_ISOAPRESPONSE_IID_STR "99ec6691-535f-11d4-9a58-000064657374"
  28.  
  29. #define NS_ISOAPRESPONSE_IID \
  30.   {0x99ec6691, 0x535f, 0x11d4, \
  31.     { 0x9a, 0x58, 0x00, 0x00, 0x64, 0x65, 0x73, 0x74 }}
  32.  
  33. class NS_NO_VTABLE nsISOAPResponse : public nsISOAPMessage {
  34.  public: 
  35.  
  36.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_ISOAPRESPONSE_IID)
  37.  
  38.   /**
  39.  * This is an extension of a message which contains extra functions
  40.  * such as tracking, where appropriate, the original call that
  41.  * produced the response message, identifying the fault, if any,
  42.  * and supplying the return value.
  43.  */
  44. /**
  45.    * The fault returned in the response, if one was generated. NULL
  46.    * if there was no fault.  This does not rely on the response
  47.    * parameters having been deserialized.
  48.    */
  49.   /* readonly attribute nsISOAPFault fault; */
  50.   NS_IMETHOD GetFault(nsISOAPFault * *aFault) = 0;
  51.  
  52. };
  53.  
  54. /* Use this macro when declaring classes that implement this interface. */
  55. #define NS_DECL_NSISOAPRESPONSE \
  56.   NS_IMETHOD GetFault(nsISOAPFault * *aFault); 
  57.  
  58. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  59. #define NS_FORWARD_NSISOAPRESPONSE(_to) \
  60.   NS_IMETHOD GetFault(nsISOAPFault * *aFault) { return _to GetFault(aFault); } 
  61.  
  62. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  63. #define NS_FORWARD_SAFE_NSISOAPRESPONSE(_to) \
  64.   NS_IMETHOD GetFault(nsISOAPFault * *aFault) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFault(aFault); } 
  65.  
  66. #if 0
  67. /* Use the code below as a template for the implementation class for this interface. */
  68.  
  69. /* Header file */
  70. class nsSOAPResponse : public nsISOAPResponse
  71. {
  72. public:
  73.   NS_DECL_ISUPPORTS
  74.   NS_DECL_NSISOAPRESPONSE
  75.  
  76.   nsSOAPResponse();
  77.  
  78. private:
  79.   ~nsSOAPResponse();
  80.  
  81. protected:
  82.   /* additional members */
  83. };
  84.  
  85. /* Implementation file */
  86. NS_IMPL_ISUPPORTS1(nsSOAPResponse, nsISOAPResponse)
  87.  
  88. nsSOAPResponse::nsSOAPResponse()
  89. {
  90.   /* member initializers and constructor code */
  91. }
  92.  
  93. nsSOAPResponse::~nsSOAPResponse()
  94. {
  95.   /* destructor code */
  96. }
  97.  
  98. /* readonly attribute nsISOAPFault fault; */
  99. NS_IMETHODIMP nsSOAPResponse::GetFault(nsISOAPFault * *aFault)
  100. {
  101.     return NS_ERROR_NOT_IMPLEMENTED;
  102. }
  103.  
  104. /* End of implementation class template. */
  105. #endif
  106.  
  107. #define NS_SOAPRESPONSE_CID                         \
  108. { /* 87d21ec3-539d-11d4-9a59-00104bdf5339 */        \
  109.   0x87d21ec3, 0x539d, 0x11d4,                       \
  110.  {0x9a, 0x59, 0x00, 0x10, 0x4b, 0xdf, 0x53, 0x39} }
  111. #define NS_SOAPRESPONSE_CONTRACTID \
  112. "@mozilla.org/xmlextras/soap/response;1"
  113.  
  114. #endif /* __gen_nsISOAPResponse_h__ */
  115.